Create Order v1
Create an order synchronously to receive order details in response
Order Creation v1
Orders can be placed by a POST request to v1/order API endpoint. Each request to create an order must include, along with the necessary authentication headers, order information in the request body. The format for the same can be found in the Create Order API Reference.
- Acquire the
create-order-payloadfrom Account Manager. - Configure the order details in the
create-order-payloadJSON. This payload will be placed in the request body. - Acquire
access-tokenas mentioned in Authentication. The account'sclientIdandsecretcan be found in WebApp - Make a
POSTrequest to/orderAPI endpoint. API reference in Create Order V1
For orders placed with country=USA, the region field must be included in Shipping address.
Creating a test order
To make sure the account and webhook have been successfully registered, we suggest to send few test orders before going live. The steps to create a test order are the same as a real one mentioned above. In case of a test order, the fakeOrder key in the payload will have true value.
The fakeOrder flag, which is a part of the create-order-payload, has to be set as true (otherwise the order placed will be produced) .